package com.woniuxy.hotel.room.dto;

/**
 * 返回给前端数据的固定格式
 * @author ly
 *
 */
public class LayUiDataResultDTO<T> {
//	{"code":0,"msg":"","count":1000,"data":[{}，{}]}
	private int code;
	private String msg;
	private T data;
	private Integer count;
	
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public LayUiDataResultDTO(int code, String msg, T data, Integer count) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
		this.count = count;
	}
	public LayUiDataResultDTO() {
	
	}
	
	
}
